home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 February / EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso / earcd / gnu / ispell31p3bin.lha / ispell-3.1.18bin / lib / english.aff next >
Text File  |  1995-09-21  |  6KB  |  167 lines

  1. #
  2. # $Id: english.aff,v 1.16 1995/01/08 23:23:59 geoff Exp $
  3. #
  4. # Copyright 1992, 1993, Geoff Kuenning, Granada Hills, CA
  5. # All rights reserved.
  6. #
  7. # Redistribution and use in source and binary forms, with or without
  8. # modification, are permitted provided that the following conditions
  9. # are met:
  10. #
  11. # 1. Redistributions of source code must retain the above copyright
  12. #    notice, this list of conditions and the following disclaimer.
  13. # 2. Redistributions in binary form must reproduce the above copyright
  14. #    notice, this list of conditions and the following disclaimer in the
  15. #    documentation and/or other materials provided with the distribution.
  16. # 3. All modifications to the source code must be clearly marked as
  17. #    such.  Binary redistributions based on modified source code
  18. #    must be clearly marked as modified versions in the documentation
  19. #    and/or other materials provided with the distribution.
  20. # 4. All advertising materials mentioning features or use of this software
  21. #    must display the following acknowledgment:
  22. #      This product includes software developed by Geoff Kuenning and
  23. #      other unpaid contributors.
  24. # 5. The name of Geoff Kuenning may not be used to endorse or promote
  25. #    products derived from this software without specific prior
  26. #    written permission.
  27. #
  28. # THIS SOFTWARE IS PROVIDED BY GEOFF KUENNING AND CONTRIBUTORS ``AS IS'' AND
  29. # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  30. # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  31. # ARE DISCLAIMED.  IN NO EVENT SHALL GEOFF KUENNING OR CONTRIBUTORS BE LIABLE
  32. # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  33. # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  34. # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  35. # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  36. # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  37. # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  38. # SUCH DAMAGE.
  39. #
  40. #    Affix table for English
  41. #
  42. # $Log: english.aff,v $
  43. # Revision 1.16  1995/01/08  23:23:59  geoff
  44. # Add a NeXT to the defstringtype statement so that nextispell can
  45. # select it.
  46. #
  47. # Revision 1.15  1994/01/25  07:12:40  geoff
  48. # Get rid of all old RCS log lines in preparation for the 3.1 release.
  49. #
  50. #
  51.  
  52. nroffchars    ().\\*
  53. texchars    ()\[]{}<\>\\$*.%
  54.  
  55. # First we declare the character set.  Since it's English, it's easy.
  56. # The only special character is the apostrophe, so that possessives can
  57. # be handled.  We declare it as a boundary character, so that quoting with
  58. # single quotes doesn't confuse things.  The apostrophe is the only
  59. # character that gets such treatment.
  60. #
  61. # We declare the apostrophe first so that "Jon's" collates before "Jonas".
  62. # (This is the way ASCII does it).
  63. #
  64.  
  65. defstringtype "nroff" "nroff" ".mm" ".ms" ".me" ".man" ".NeXT"
  66.  
  67. boundarychars '
  68. wordchars [a-z] [A-Z]
  69.  
  70. altstringtype "tex" "tex" ".tex" ".bib"
  71.  
  72. # Here's a record of flags used, in case you want to add new ones.
  73. # Right now, we fit within the minimal MASKBITS definition.
  74. #
  75. #            ABCDEFGHIJKLMNOPQRSTUVWXYZ
  76. # Used:      *  *  ****  ** * ***** ***
  77. #            A  D  GHIJ  MN P RSTUV XYZ
  78. # Available:  -- --    --  - -     -
  79. #             BC EF    KL  O Q     W
  80.  
  81. # Now the prefix table.  There are only three prefixes that are truly
  82. # frequent in English, and none of them seem to need conditional variations.
  83. #
  84. prefixes
  85.  
  86. flag *A:
  87.     .        >    RE        # As in enter > reenter
  88.  
  89. flag *I:
  90.     .        >    IN        # As in disposed > indisposed
  91.  
  92. flag *U:
  93.     .        >    UN        # As in natural > unnatural
  94.  
  95. # Finally, the suffixes.  These are exactly the suffixes that came out
  96. # with the original "ispell";  I haven't tried to improve them.  The only
  97. # thing I did besides translate them was to add selected cross-product flags.
  98. #
  99. suffixes
  100.  
  101. flag V:
  102.     E        >    -E,IVE        # As in create > creative
  103.     [^E]    >    IVE        # As in prevent > preventive
  104.  
  105. flag *N:
  106.     E        >    -E,ION        # As in create > creation
  107.     Y        >    -Y,ICATION    # As in multiply > multiplication
  108.     [^EY]    >    EN        # As in fall > fallen
  109.  
  110. flag *X:
  111.     E        >    -E,IONS        # As in create > creations
  112.     Y        >    -Y,ICATIONS    # As in multiply > multiplications
  113.     [^EY]    >    ENS        # As in weak > weakens
  114.  
  115. flag H:
  116.     Y        >    -Y,IETH        # As in twenty > twentieth
  117.     [^Y]    >    TH        # As in hundred > hundredth
  118.  
  119. flag *Y:
  120.     .        >    LY        # As in quick > quickly
  121.  
  122. flag *G:
  123.     E        >    -E,ING        # As in file > filing
  124.     [^E]    >    ING        # As in cross > crossing
  125.  
  126. flag *J:
  127.     E        >    -E,INGS        # As in file > filings
  128.     [^E]    >    INGS        # As in cross > crossings
  129.  
  130. flag *D:
  131.     E        >    D        # As in create > created
  132.     [^AEIOU]Y    >    -Y,IED        # As in imply > implied
  133.     [^EY]    >    ED        # As in cross > crossed
  134.     [AEIOU]Y    >    ED        # As in convey > conveyed
  135.  
  136. flag T:
  137.     E        >    ST        # As in late > latest
  138.     [^AEIOU]Y    >    -Y,IEST        # As in dirty > dirtiest
  139.     [AEIOU]Y    >    EST        # As in gray > grayest
  140.     [^EY]    >    EST        # As in small > smallest
  141.  
  142. flag *R:
  143.     E        >    R        # As in skate > skater
  144.     [^AEIOU]Y    >    -Y,IER        # As in multiply > multiplier
  145.     [AEIOU]Y    >    ER        # As in convey > conveyer
  146.     [^EY]    >    ER        # As in build > builder
  147.  
  148. flag *Z:
  149.     E        >    RS        # As in skate > skaters
  150.     [^AEIOU]Y    >    -Y,IERS        # As in multiply > multipliers
  151.     [AEIOU]Y    >    ERS        # As in convey > conveyers
  152.     [^EY]    >    ERS        # As in build > builders
  153.  
  154. flag *S:
  155.     [^AEIOU]Y    >    -Y,IES        # As in imply > implies
  156.     [AEIOU]Y    >    S        # As in convey > conveys
  157.     [SXZH]    >    ES        # As in fix > fixes
  158.     [^SXZHY]    >    S        # As in bat > bats
  159.  
  160. flag *P:
  161.     [^AEIOU]Y    >    -Y,INESS    # As in cloudy > cloudiness
  162.     [AEIOU]Y    >    NESS        # As in gray > grayness
  163.     [^Y]    >    NESS        # As in late > lateness
  164.  
  165. flag *M:
  166.     .        >    'S        # As in dog > dog's
  167.